package com.sora.test;

import com.sora.annotation.ServiceScan;
import com.sora.api.HelloService;
import com.sora.serializer.CommonSerializer;
import com.sora.transport.netty.server.NettyServer;
import com.sora.serializer.ProtobufSerializer;

/**
 * @Classname: NettyTestServer
 * @Description:
 * @Author: Stonffe
 * @Date: 2023/5/1 15:47
 */
@ServiceScan
public class NettyTestServer {
    public static void main(String[] args) {
        NettyServer server = new NettyServer("127.0.0.1", 9999, CommonSerializer.PROTOBUF_SERIALIZER);
        server.start();

    }
}
